package can.bishe.modules.senic.dao;


import can.bishe.modules.senic.entity.SenicScoresEntity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * 景点评分
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-03-27 20:23:41
 */
public interface SenicScoresDao extends BaseMapper<SenicScoresEntity> {

    List<Map<String,Object>> getScoresList(@Param("senicId") Long senicId);

    List<Map<String,Object>> getMyScoresList(@Param("userId") Long userId);

    List<Long> getUserList();
    
    List<Long> getSenicList(@Param("userId") Long userId);

    List<SenicScoresEntity> getScoreOverviews(@Param("username") String name,@Param("senicName") String senicName);

    List<Long> getUserLoveList(@Param("userId") Long userId);
	
}
